package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "客户表实体")
public class Customer {
  @ApiModelProperty(name = "customer_Id",notes = "主键,客户编号",dataType = "String",required = true)
  private String customer_Id;
  @ApiModelProperty(name = "customer_Name",notes = "客户名称",dataType = "String",required = true)
  private String customer_Name;
  @ApiModelProperty(name = "customer_Type_Id",notes = "外键，客户类别",dataType = "String",required = true)
  private long customer_Type_Id;
  @ApiModelProperty(name = "customer_Grade",notes = "客户等级",dataType = "String",required = false)
  private String customer_Grade;
  @ApiModelProperty(name = "money_Date",notes = "余额日期",dataType = "String",required = false)
  private String money_Date;
  @ApiModelProperty(name = "opening_Receivables",notes = "期初应收款",dataType = "double",required = false)
  private double opening_Receivables;
  @ApiModelProperty(name = "opening_Advance_Collection",notes = "期初预收款",dataType = "double",required = false)
  private double opening_Advance_Collection;
  @ApiModelProperty(name = "status",notes = "状态",dataType = "String",required = false)
  private String status;
  @ApiModelProperty(name = "comm",notes = "备注",dataType = "String",required = false)
  private String comm;

  //客户类别
  private Customer_Type customer_type;

  //客户联系人信息
  private List<Customer_Contact_Peroson_Info> contact_peroson_infos;


  public Customer_Type getCustomer_type() {
    return customer_type;
  }

  public void setCustomer_type(Customer_Type customer_type) {
    this.customer_type = customer_type;
  }

  public List<Customer_Contact_Peroson_Info> getContact_peroson_infos() {
    return contact_peroson_infos;
  }

  public void setContact_peroson_infos(List<Customer_Contact_Peroson_Info> contact_peroson_infos) {
    this.contact_peroson_infos = contact_peroson_infos;
  }

  public String getCustomer_Id() {
    return customer_Id;
  }

  public void setCustomer_Id(String customer_Id) {
    this.customer_Id = customer_Id;
  }

  public String getCustomer_Name() {
    return customer_Name;
  }

  public void setCustomer_Name(String customer_Name) {
    this.customer_Name = customer_Name;
  }

  public long getCustomer_Type_Id() {
    return customer_Type_Id;
  }

  public void setCustomer_Type_Id(long customer_Type_Id) {
    this.customer_Type_Id = customer_Type_Id;
  }

  public String getCustomer_Grade() {
    return customer_Grade;
  }

  public void setCustomer_Grade(String customer_Grade) {
    this.customer_Grade = customer_Grade;
  }

  public String getMoney_Date() {
    return money_Date;
  }

  public void setMoney_Date(String money_Date) {
    this.money_Date = money_Date;
  }

  public double getOpening_Receivables() {
    return opening_Receivables;
  }

  public void setOpening_Receivables(double opening_Receivables) {
    this.opening_Receivables = opening_Receivables;
  }

  public double getOpening_Advance_Collection() {
    return opening_Advance_Collection;
  }

  public void setOpening_Advance_Collection(double opening_Advance_Collection) {
    this.opening_Advance_Collection = opening_Advance_Collection;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getComm() {
    return comm;
  }

  public void setComm(String comm) {
    this.comm = comm;
  }


  @Override
  public String toString() {
    return "Customer{" +
            "customer_Id='" + customer_Id + '\'' +
            ", customer_Name='" + customer_Name + '\'' +
            ", customer_Type_Id=" + customer_Type_Id +
            ", customer_Grade='" + customer_Grade + '\'' +
            ", money_Date='" + money_Date + '\'' +
            ", opening_Receivables=" + opening_Receivables +
            ", opening_Advance_Collection=" + opening_Advance_Collection +
            ", status='" + status + '\'' +
            ", comm='" + comm + '\'' +
            ", customer_type=" + customer_type +
            ", contact_peroson_infos=" + contact_peroson_infos +
            '}';
  }
}
